package pl.vm.domain;

import java.util.ArrayList;
import java.util.List;

public class Seazons {

	private List<Seazon> seazons = new ArrayList<> ();
	
	public List<Seazon> getSeazons() {
		return seazons;
	}
	
	public Seazon getSeazon(String seazonId) {
		for (Seazon seazon : seazons) {
			if (seazonId.equals(seazon.getId())) {
				return seazon;
			}
		}
		return null;
	}
}
